# Contributor: Celeste <cielesti@protonmail.com>
# Maintainer: Celeste <cielesti@protonmail.com>
pkgname=spiritvnc
pkgver=0.6.0
pkgrel=0
pkgdesc="FLTK-based multi-view VNC client"
url="https://github.com/willbprog127/spiritvnc-fltk-no-libssh2"
arch="all"
license="BSD-3-Clause"
depends="openssh-client"
makedepends="fltk-dev libvncserver-dev"
source="https://github.com/willbprog127/spiritvnc-fltk-no-libssh2/archive/v$pkgver/spiritvnc-$pkgver.tar.gz"
builddir="$srcdir/spiritvnc-fltk-no-libssh2-$pkgver"
options="!check" # no tests provided

build() {
	make spiritvnc-fltk
}

package() {
	install -Dvm755 spiritvnc-fltk "$pkgdir"/usr/bin/spiritvnc
}

sha512sums="
b9442e8ae4035d5b13e9ca2140450a7f75ff3916cac67293ba4813ab1375d3c0e3cae0464b07a639d11ef9abf1556c3c5538483afba9c1aad332bb9e20943296  spiritvnc-0.6.0.tar.gz
"
